<template>
  <div>
    <YpResult v-model="yp.show" :isTest="true" :data="data" />

    <el-button type="a" @click="handleYp">溯源</el-button>
  </div>
</template>
<script setup>
import data from '@/components/yp-result/result-a.json'

import YpResult from '@/components/yp-result/YpResult.vue'

const yp = reactive({
  show: false,
})

const handleYp = () => {}

onMounted(() => {
  yp.show = true
})
</script>
<style lang="scss" scoped></style>
